package com.lsc.www.day06;

public class Cat extends Animal{
    private String cat;

    public Cat(String name, int age, String sex, String cat) {
        super(name, age, sex);
        setCat(cat);
    }

    public Cat(){

    }

    public String getCat() {
        return cat;
    }

    public void setCat(String cat) {
        this.cat = cat;
    }

    public void move() {
        System.out.println("猫走猫步");
        super.move();
    }
}
